From a2af3700451a2a0b189439de869c6f48351b9f27 Mon Sep 17 00:00:00 2001 From: robertl Date: Fri, 4 Apr 2008 15:58:21 +0000 Subject: [PATCH] Don't write empty URLs to LMX format. --- lmx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lmx.c b/lmx.c index 42364b31d..5082a0cc0 100644 --- a/lmx.c +++ b/lmx.c @@ -90,7 +90,7 @@ lmx_print(const waypoint *wpt) } gbfprintf(ofd, " \n"); - if (wpt->url) { + if (wpt->url && wpt->url[0]) { gbfprintf(ofd, " \n"); if (wpt->url_link_text) lmx_write_xml(5,"lm:name", wpt->url_link_text); -- 2.30.2